/**
 * 商品列表
 */
const requestGoodsList = (pageNo, pageSize = 8) => {
	return myAxios({
		method: 'get',
		url: '/api/shop/list',
		params: {
			pageNo,
			pageSize,
		},
	})
}

/**
 * 商品详情
 *
 */
const requestGoodsDetail = id => {
	return myAxios({
		method: 'get',
		url: '/api/shop/find',
		params: { id },
	})
}
